package com.jeesite.modules.digitalize.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jeesite.modules.digitalize.entity.DigitalizePlanDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * (DigitalizePlanDetail)表数据库访问层
 *
 * @author mxz
 * @since 2023-11-13 17:56:00
 */
@Mapper
public interface DigitalizePlanDetailDao extends BaseMapper<DigitalizePlanDetail> {

    Date getMinStartDate(@Param("parentId") Long parentId, @Param("file") String file);

    Date getMaxEndDate(@Param("parentId") Long parentId, @Param("file") String file);

    List<String> getComponentListByPlanDetailId(@Param("id") Long id);
}

